<template>
    <el-tooltip effect="dark" :content="content" :placement="placement">
        <slot></slot>
    </el-tooltip>
</template>
<script>
export default {
    name: 'CustomTooltip',
    props: {
        content: {
            type: [String,Number],
            default: ''
        },
        placement: {
            type: String,
            default: 'left'
        }
    }
}
</script>